package com.kitty.game.friend.message;


import com.kitty.game.chat.message.vo.ChatInfo;
import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.annotation.StringField;
import com.kitty.mina.message.Message;

import java.util.List;

/**
 * 发送好友消息
 */
@MessageMeta(module = Modules.CMD_FRIEND_TELL_EX)
public class ReqSendFriendMsg extends Message {
    private short flag;
    private String friendName;
    private short compress;
    private short msgLength;
    @StringField(value = 1)
    private String msg;
    private List<ChatInfo> chatInfos;
    private int voiceTime;
    @StringField(value = 1)
    private String token;
    private String roleMianbanId;

    public short getFlag() {
        return flag;
    }

    public void setFlag(short flag) {
        this.flag = flag;
    }

    public String getFriendName() {
        return friendName;
    }

    public void setFriendName(String friendName) {
        this.friendName = friendName;
    }

    public short getCompress() {
        return compress;
    }

    public void setCompress(short compress) {
        this.compress = compress;
    }

    public short getMsgLength() {
        return msgLength;
    }

    public void setMsgLength(short msgLength) {
        this.msgLength = msgLength;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ChatInfo> getChatInfos() {
        return chatInfos;
    }

    public void setChatInfos(List<ChatInfo> chatInfos) {
        this.chatInfos = chatInfos;
    }

    public int getVoiceTime() {
        return voiceTime;
    }

    public void setVoiceTime(int voiceTime) {
        this.voiceTime = voiceTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRoleMianbanId() {
        return roleMianbanId;
    }

    public void setRoleMianbanId(String roleMianbanId) {
        this.roleMianbanId = roleMianbanId;
    }
}
